package com.yunxi.model.finance;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 车辆价格
 * </p>
 *
 * @author 
 * @since 2019-06-17
 */
@Data
@EqualsAndHashCode(callSuper = false)

@ApiModel(value="BaseVehiclePriceDetail对象", description="车辆价格")
public class VehiclePriceDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "PRICE_DETAIL_ID", type = IdType.UUID)
    private String priceDetailId;

    @ApiModelProperty(value = "价格代码")
    @TableField("PRICE_ID")
    private String priceId;

    @ApiModelProperty(value = "0百分比1固定值")
    @TableField("UNIT_TYPE")
    private Integer unitType;

    @ApiModelProperty(value = "渠道商号码")
    @TableField("PARTNER_CODE")
    private String partnerCode;

    @ApiModelProperty(value = "订货单号")
    @TableField("ORDER_VEHICLE_NO")
    private String orderVehicleNo;

    @ApiModelProperty(value = "百分比")
    @TableField("PERCENT")
    private String percent;

    @ApiModelProperty(value = "金额")
    @TableField("AMOUNT")
    private BigDecimal amount;

    @ApiModelProperty(value = "生效日期")
    @TableField("EFFECT_DATE")
    private String effectDate;

    @ApiModelProperty(value = "失效时间")
    @TableField("VALI_DATE")
    private String valiDate;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;


}
